package com.ruoyi.distrack.domin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author 马兰友
 * @Date: 2024/04/01/21:38
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DisTrack {

    private Integer id;
    private Double level;
    private String location;
    private Double lng;
    private Double lat;
    private Integer depth;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;
    private Integer isNeedDonate;
    private Integer isNeedPropaganda;
    private String title;
    private String images;
    private String body;

}
